import request from '@/utils/request'

// 查询微信交友列表
export function listSportWxboke(query) {
  return request({
    url: '/sportWxBoke/sportWxboke/list',
    method: 'get',
    params: query
  })
}

// 查询微信交友详细
export function getSportWxboke(sportWxJyUuid) {
  return request({
    url: '/sportWxBoke/sportWxboke/' + sportWxJyUuid,
    method: 'get'
  })
}

// 新增微信交友
export function addSportWxboke(data) {
  return request({
    url: '/sportWxBoke/sportWxboke',
    method: 'post',
    data: data
  })
}

// 修改微信交友
export function updateSportWxboke(data) {
  return request({
    url: '/sportWxBoke/sportWxboke',
    method: 'put',
    data: data
  })
}

// 删除微信交友
export function delSportWxboke(sportWxJyUuid) {
  return request({
    url: '/sportWxBoke/sportWxboke/' + sportWxJyUuid,
    method: 'delete'
  })
}
